package bsea.jan07;

public class Cat extends Ani{
	int amount;
	
	void setAmount(int amt){
		
		this.amount=amt;
	}
	
	int getAmount(){
		
		return this.amount;
	}
	
	
	int getMouse(){
		
		
		return amount;
	}
	
	
	void run(){
		//super.run表示调用父类的run方法。
		super.run();
		System.out.println("跑的没声音");
	}

}
